package com.whjfxx.terminal.commons;

import lombok.Data;

@Data
public class SelectVo<V,T> {

    private V value;

    private T text;

    public SelectVo(){}

    public SelectVo(V value, T text){
        this.value = value;this.text = text;
    }

    public static <V, T> SelectVo<V, T> create(V value, T text) {
        return new SelectVo<>(value, text);
    }

}
